import Vue from "vue";
import App from "./App.vue";

// UI框架
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
Vue.use(ViewUI);

// 全局样式
import "./style/global.less";

// 路由
import router from "./router";
import store from "./store";

// 工具函数
import utils from "./utils";
Vue.prototype.$utils = utils;

// 数据请求
import axios from "./axios";
import qs from 'qs';
Vue.prototype.$axios = axios;
Vue.prototype.$qs = qs;

import "./registerServiceWorker";
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
